package guestbook;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class cacheServlet extends HttpServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
	 {
		 MyUrl url;
		try {
			url = new MyUrl("http://gilivaturitest.appspot.com/gadgetRequestStatServlet");
			@SuppressWarnings("unused")
			String xmlAsString=parsingSites.createStringFromHtml(url);
			
			url = new MyUrl("http://gilivaturitest.appspot.com/gadgetRequestFormServlet");
			xmlAsString=parsingSites.createStringFromHtml(url);
			
			url = new MyUrl("http://gilivaturitest.appspot.com/gadgetRequestRecServlet");
			xmlAsString=parsingSites.createStringFromHtml(url);
			
			url = new MyUrl("http://gilivaturitest.appspot.com/gadgetRequestResultsServlet");
			xmlAsString=parsingSites.createStringFromHtml(url);
		
		} catch (Exception e) {
			e.printStackTrace();
		}
		 
	 }

}
